import Vue from "vue"

export default {
	// 调测试接口
	test: (params = {}) => Vue.prototype.$u.get('users/test', params),
	// 登陆接口
	login: (params = {}) => Vue.prototype.$u.post('users/login', params),
	// 获取好友列表
	getCurrUserFriends: (params = {}) => Vue.prototype.$u.get('users/getCurrUserFriends', params),
	// 头像上传
	uploadImg: (params = {}) => Vue.prototype.$u.post('users/uploadImg', params),
	// 注册
	register: (params = {}) => Vue.prototype.$u.post('users/register', params),
}
